<?php
set_include_path('../:' . get_include_path());

require_once 'Services/Plazes.php';

$username = '';
$password = '';

try {
    $plazes = Services_Plazes::factory($username, $password);
    var_dump($plazes->plazes->getPlazeInfo(77844));
} catch (Services_Plazes_Adapter_Plazes_Exception $e) {
    echo 'Error fetching info: ' . $e->getMessage();
} catch (Services_Plazes_Exception $e) {
    echo 'SPE Exception: ' . $e->getMessage();
} catch (Exception $e) {
    echo 'PHP Exception: ' . $e;
}
?>
